<?php
/**
 * Created by PhpStorm.
 * User: lixy
 * Date: 2017/1/17
 * Time: 14:57
 */
use yii\helpers\Url;

$web = Url::base();
?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>选择机构</title>
    <link rel="stylesheet" type="text/css" href="<?=$web?>/css/mall/selection-mechanism.css"/>

</head>
<body>
<div class="selection-mechanism">
    <div class="content">
        <div class="content-list">
            <?php
                foreach($instList as $item){
            ?>
                    <div class="list">
                        <div class="center">
                            <div class="text">
                                <p class="name"><?=$item['site_name']?></p>
                                <p class="money">余额：<span><?=$item['integral']?> <?=$item['integral_unit']?></span></p>
                            </div>
                            <a href="redirect-inst-index?institution_code=<?=$item['institution_code']?>" class="join-btn">进入商城</a>
                        </div>
                    </div>
            <?php
                }
            ?>
           <!-- <div class="list">
                <div class="center">
                    <div class="text">
                        <p class="name">鑫泰标准机构</p>
                        <p class="money">余额：<span>123456 积分</span></p>
                    </div>
                    <a href="" class="join-btn">进入商城</a>
                </div>
            </div>-->
        </div>
        <a href="home-login" class="goback-login-btn">返回登录</a>
    </div>
    <div class="selection-mechanism-shade"></div>
</div>

</body>
</html>
